package com.ymttest.database.sharding.db.ext.model;

import java.util.Date;

public class OrderAutoAcceptActivityDetailPo {
    /**
     * id BIGINT(19) 必填<br>
     * 主键id，自增长
     */
    private Long id;

    /**
     * order_id BIGINT(19) 必填<br>
     * 订单id
     */
    private Long orderId;

    /**
     * seller_id BIGINT(19) 必填<br>
     * 店铺id
     */
    private Long sellerId;

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 规格id
     */
    private String catalogId;

    /**
     * activity_id BIGINT(19) 必填<br>
     * 活动id
     */
    private Long activityId;

    /**
     * accept_order int(11) 必填<br>
     * '是否已接单，0：没有，1：已接单,2:不需要' AFTER `activity_id`;
     */
    private Integer acceptOrder;

    /**
     * add_time TIMESTAMP(19) 必填<br>
     * 添加时间
     */
    private Date addTime;

    /**
     * update_time TIMESTAMP(19) 必填<br>
     * 修改时间
     */
    private Date updateTime;

    /**
     * id BIGINT(19) 必填<br>
     * 获得 主键id，自增长
     */
    public Long getId() {
        return id;
    }

    /**
     * id BIGINT(19) 必填<br>
     * 设置 主键id，自增长
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 获得 订单id
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * order_id BIGINT(19) 必填<br>
     * 设置 订单id
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 获得 店铺id
     */
    public Long getSellerId() {
        return sellerId;
    }

    /**
     * seller_id BIGINT(19) 必填<br>
     * 设置 店铺id
     */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 获得 规格id
     */
    public String getCatalogId() {
        return catalogId;
    }

    /**
     * catalog_id VARCHAR(50) 必填<br>
     * 设置 规格id
     */
    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId == null ? null : catalogId.trim();
    }

    /**
     * activity_id BIGINT(19) 必填<br>
     * 获得 活动id
     */
    public Long getActivityId() {
        return activityId;
    }

    /**
     * activity_id BIGINT(19) 必填<br>
     * 设置 活动id
     */
    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Integer getAcceptOrder() {
		return acceptOrder;
	}

	public void setAcceptOrder(Integer acceptOrder) {
		this.acceptOrder = acceptOrder;
	}

	/**
     * add_time TIMESTAMP(19) 必填<br>
     * 获得 添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 必填<br>
     * 设置 添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * update_time TIMESTAMP(19) 必填<br>
     * 获得 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * update_time TIMESTAMP(19) 必填<br>
     * 设置 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderId=").append(orderId);
        sb.append(", sellerId=").append(sellerId);
        sb.append(", catalogId=").append(catalogId);
        sb.append(", activityId=").append(activityId);
        sb.append(", acceptOrder=").append(acceptOrder);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}